package com.bw.service;

import com.bw.entity.Bing;
import com.bw.entity.Dict;
import com.bw.entity.Zxt;
import com.bw.mapper.BookMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookServiceImpl implements BookService{

    @Autowired
    BookMapper bookMapper;


    @Override
    public List<Dict> selectBookType() {
        return bookMapper.selectBookType();
    }

    @Override
    public List<Zxt> zxt(Integer typeId) {
        return bookMapper.zxt(typeId);
    }

    @Override
    public List<Bing> bing(Integer typeId) {
        return bookMapper.bing(typeId);
    }
}
